package club.justwill.single.bean.Stick;

import club.justwill.single.impl.ToolsImpl;
import club.justwill.single.persistence.document.Comments;

/**
 * Created by xiangnan on 16-1-18.
 */
public class CommentResp {
    private String comments;

    private String userName;

    private String userHeadIcon;

    private String time;

    public CommentResp() {}
    public CommentResp(Comments comments) {
        setComments(comments.getComments());
        setUserName(comments.getUserName());
        setUserHeadIcon(comments.getUserHeadIcon());
        setTime(ToolsImpl.serializeDate(comments.getTime()));
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserHeadIcon() {
        return userHeadIcon;
    }

    public void setUserHeadIcon(String userHeadIcon) {
        this.userHeadIcon = userHeadIcon;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
